package parser

type RespResult struct {
	Code string
	Info string
	Date any
}

func BuildSuccessResp(date any) RespResult {
	return RespResult{
		Code: "0000",
		Info: "调用成功",
		Date: date,
	}

}
func BuildFailResp(date any) RespResult {
	return RespResult{
		Code: "0001",
		Info: "调用失败",
		Date: date,
	}
}
